MAIL page# 0001 next
2:
3:
4:
5:
6:
7:
8:
9:
MAIL page# 0002 next prev
11: BEGIN MAIL ↔ SUBTTL MAIL SERVICE.
12:
13: ↑UMAIL: CAILE UCHN,MAXMAIL
14: JRST UUOERR
15: HRRZ AC1,UUO
16: CAML AC1,USRREL(PID)
17: JRST UUOERR
18: JRST @MALTBL(UCHN)
19:
20: DEFINE UUOS{FOR X IN(SEND,WRCV,SRCV,SKPME,SKPHIM,SKPSEN)}
21:
22: UUOMAC MALTBL,MAIL
23: MAXMAIL←←UUOCNT-1
24:
25: SKPSEN: JSP AC3,GETJOB
26: JRST SEND1
27: SEND: JSP AC3,GETJOB
28: SEND1: SKIPE JBTMAIL(DAT)
29: POPJ P,
30: XCTR XR,[HRRZ TAC,1(UUO)]
31: MOVEI AC1,37(TAC)
32: CAMLE AC1,USRREL(PID)
33: JRST ADRERR
34: MOVEI AC3,40
35: PUSHJ P,UFSGET
36: HRRZM AC1,JBTMAIL(DAT)
37: ADDI TAC,(PROG)
38: HRL AC1,TAC
39: MOVE AC2,AC1
40: BLT AC1,37(AC2)
41: MOVEI J,(DAT)
42: MOVM TAC,JOBQUE(J)
43: SKIPG JBTSTS(J)
44: CAIE TAC,IOWQ
45: JRST NOWAKE
46: MOVEI TAC,RUNQ
47: MOVNM TAC,JOBQUE(J)
48: PUSHJ P,REQUE
49: NOWAKE: MOVSI AC1,INTMAIL
50: AOS (P)
51: TDNN AC1,JBTIEN(J)
52: POPJ P,
53: IORM AC1,JBTIRQ(J)
54: SETOM INTREQ(PID)
55: JRST WSCHED
MAIL page# 0003 next prev
57: WRCV: PUSHJ P,SRCV
58: TROA AC1,IOWQ
59: POPJ P,
60: MOVNM AC1,JOBQUE(J)
61: PUSHJ P,WSCHED
62: JRST WRCV
63:
64: SRCV: SKIPN AC1,JBTMAIL(J)
65: POPJ P,
66: SETZM JBTMAIL(J)
67: HRL TAC,AC1
68: HRRI TAC,@UUO
69: MOVEI TAC1,37(TAC)
70: BLT TAC,(TAC1)
71: PUSHJ P,FSGIVE
72: JRST CPOPJ1
73:
74: SKPME: SKIPA DAT,J
75: SKPHIM: JSP AC3,GETJOB
76: SKIPN JBTMAIL(DAT)
77: POPJ P,
78: JRST CPOPJ1
79:
MAIL page# 0004 next prev
81:
82:
83: ↑FNDJOB:
84: GETJOB: MOVE DAT,@UUO
85: TDNN DAT,[-1,,777700]
86: JRST GJ1
87: MOVSI TAC,-JOBN
88: CAME DAT,JOBNAM(TAC)
89: AOBJN TAC,.-1
90: JUMPGE TAC,GJERR
91: MOVE TAC1,TAC
92: AOBJP TAC1,GJ2
93: CAME DAT,JOBNAM(TAC1)
94: JRST .-2
95: MOVEI TAC,GTGARP
96: JRST GJERR1
97:
98: GJ2: MOVEI DAT,(TAC)
99: GJ1: MOVE TAC,JBTSTS(DAT)
100: TLNE TAC,JNA
101: JRST (AC3)
102: GJERR: MOVEI TAC,GTGAR1
103: GJERR1: HRRZ AC3,AC3
104: CAIN AC3,SKPSEN+1
105: JRST CPOPJ2
106: PUSHJ P,HNGMES
107: JRST GETJOB
108:
109: GTGAR1: ASCIZ/
110: ?NON-EX JOB NAME OR NUMBER
111: /
112:
113: GTGARP: ASCIZ /
114: ?AMBIGUOUS JOB NAME
115: /
116: BEND
EOF: MAIL end-of-file. cnt=3